list = ['python',3.14,99.6]
print(id(list))
list[0] = "java"
print(id(list))
alist = ['c++',"python","html"]
nlist = list + alist
print(nlist)
print(nlist[0:6:2])

name = ["zhangsan","list","wangwu","xiaohei"]
print(name)
for i in name:
    print(i)
print(name.index("zhangsan"))
if 'zhangsan' in name:
    print("zhangsan在名单中，可以正常访问主页")
if 'xiaobai' not in name:
    print("xiaobai不在名单中，无法访问主页")

name2 = ["yasuo",'timo']
name.extend(name2)
print(name)
name.append("qwe")
print(name)
#name.insert(_index:1,_object:)
print(name)
name.remove("aaa")
name.pop(0)
print(name)

name.sort()
print(name)
name.reverse()
print(name)